
using Qdb.Ext;

namespace Qdb.Ext
{
	/// <summary>
	/// qdb-specific exception.<br /><br />
	/// This exception is thrown when an old file format was detected
	/// and
	/// <see cref="Qdb.Config.IConfiguration.AllowVersionUpdates(bool)">Qdb.Config.IConfiguration.AllowVersionUpdates(bool)
	/// 	</see>
	/// is set to false.
	/// </summary>
	[System.Serializable]
	public class OldFormatException : QdbFatalException
	{
		/// <summary>Constructor with the default message.</summary>
		/// <remarks>Constructor with the default message.</remarks>
		public OldFormatException() : base(Qdb.Internal.Messages.OldDatabaseFormat
			)
		{
		}
	}
}
